package com.fairplay.test.activity;

import android.os.Bundle;
import android.util.Log;

import androidx.annotation.Nullable;

import com.fairplay.test.R2;
import com.gwm.annotation.layout.Layout;
import com.gwm.annotation.router.ARouter;
import com.jetpackframework.base.BaseSplshActivity;
import com.test.layout.activity_splsh;

@Layout(R2.layout.activity_splsh)
@ARouter("test/splsh")
public class SplshActivity extends BaseSplshActivity<activity_splsh> {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        arouterActivity("test://${packageName}/test/main");

        printClassLoader();
    }

    private void printClassLoader() {
        ClassLoader classLoader = getClassLoader();
        while (classLoader != null){
            Log.e("TAG",classLoader+"");
            classLoader = classLoader.getParent();
        }
    }
}
